# -*- coding: utf-8 -*-

# Scrapy settings for fun project
#
# For simplicity, this file contains only the most important settings by
# default. All the other settings are documented here:
#
#     http://doc.scrapy.org/en/latest/topics/settings.html
#

BOT_NAME = 'qunar'

SPIDER_MODULES = ['qunar.spiders']
NEWSPIDER_MODULE = 'qunar.spiders'

ITEM_PIPELINES = {'qunar.pipelines.ImageDownloadPipeline': 1}

IMAGES_STORE = '/data/qunarimages'

COOKIES_ENABLES=False
DOWNLOAD_DELAY = 2.5   # 2.5 s of delay

